package com.yonyou.cyxdms.basedata.service.vo.brand;

import java.util.List;

/**
 * AllModelVo
 *
 * @author LiJun
 * @Description
 * @date 2019/8/26 10:48
 */
public class AllCarModelVo {
    private Integer brandId;
    private String dealerCode;
    private String appId;
    /**
     * brandCode
     */
    private String value;
    /**
     * brandName
     */
    private String text;
    private String dataSources;

    private List<AllSeriesVo> children;

    public Integer getBrandId() {
        return brandId;
    }

    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }

    public String getDealerCode() {
        return dealerCode;
    }

    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getDataSources() {
        return dataSources;
    }

    public void setDataSources(String dataSources) {
        this.dataSources = dataSources;
    }

    public List<AllSeriesVo> getChildren() {
        return children;
    }

    public void setChildren(List<AllSeriesVo> children) {
        this.children = children;
    }

    public AllCarModelVo() {
    }

    public AllCarModelVo(BrandDictVO vo) {
        this.brandId = vo.getBrandId();
        this.dealerCode = vo.getDealerCode();
        this.appId = vo.getAppId();
        this.value = vo.getBrandCode();
        this.text = vo.getBrandName();
        this.dataSources = vo.getDataSources();
    }
}
